package com.example.basic.service;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.example.basic.service.fallback.CommonUserServiceFallback;
import com.example.util.AjaxResult;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author wangkai
 * @since 2019-06-04
 */
@FeignClient(value = "BASIC-DATA-SERVICE", fallback = CommonUserServiceFallback.class)
public interface ISysUserService {

	@RequestMapping(value = "/sys/sysUser/page")
	public AjaxResult page();

	@RequestMapping(value = "/admin/home/login")
	public AjaxResult login(@RequestParam("account") String account, @RequestParam("password") String password);

	@RequestMapping(value = "/admin/home/logout")
	public AjaxResult logout();

}
